package org.example.completed.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.completed.domain.AdoptionCloudSituationDO;
import org.example.completed.mapper.AdoptionCloudSituationMapper;
import org.example.completed.service.AdoptionCloudSituationService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 云领养宠物近况表 服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2025-04-15
 */
@Service
public class AdoptionCloudSituationServiceImpl extends ServiceImpl<AdoptionCloudSituationMapper, AdoptionCloudSituationDO> implements AdoptionCloudSituationService {
    @Override
    public List<AdoptionCloudSituationDO> getByCloudRecordId(String cloudRecordId) {
        return lambdaQuery().eq(AdoptionCloudSituationDO::getCloudRecordId, cloudRecordId).list();
    }
}
